package mercurius.fitness.client.rb.summary.forms;

import mercurius.fitness.client.rb.summary.Summary;
import net.pleso.framework.client.bl.forms.items.IFormItem;
import net.pleso.framework.client.bl.forms.items.IFormItemsGroup;
import net.pleso.framework.client.bl.forms.items.impl.FormItemsGroup;
import net.pleso.framework.client.bl.forms.items.impl.InfoFormItem;

public class SummaryForm {
	
	protected static IFormItemsGroup[] groups;
	
	static {
		
		IFormItem[] items1 = {
				new InfoFormItem(Summary.Columns.durationThis),
				new InfoFormItem(Summary.Columns.totalpointsThis),
				new InfoFormItem(Summary.Columns.caloriesThis),
				new InfoFormItem(Summary.Columns.distanceThis),
			//	new InfoFormItem(Summary.Columns.activitiesThis),
				new InfoFormItem(Summary.Columns.z1This),
				new InfoFormItem(Summary.Columns.z2This),
				new InfoFormItem(Summary.Columns.z3This),
				new InfoFormItem(Summary.Columns.z4This),
				new InfoFormItem(Summary.Columns.z5This)
				};
		
		IFormItem[] items2 = {
				new InfoFormItem(Summary.Columns.durationLast),
				new InfoFormItem(Summary.Columns.totalpointsLast),
				new InfoFormItem(Summary.Columns.caloriesLast),
				new InfoFormItem(Summary.Columns.distanceLast),
			//	new InfoFormItem(Summary.Columns.activitiesLast),
				new InfoFormItem(Summary.Columns.z1Last),
				new InfoFormItem(Summary.Columns.z2Last),
				new InfoFormItem(Summary.Columns.z3Last),
				new InfoFormItem(Summary.Columns.z4Last),
				new InfoFormItem(Summary.Columns.z5Last)
				};
		

		groups = new IFormItemsGroup[] { 
					new FormItemsGroup("This Week", items1),
					new FormItemsGroup("Last Week", items2)
				};
	}
	 
}
